home *** CD-ROM | disk | FTP | other *** search
- Submitted-by: bitbug@netcom.com (James Buster)
-
- In article <1stvpmINNofe@rodan.UU.NET> peter@nmti.com (peter da silva) writes:
- >What is the requirement for the three-argument version of the signal
- >catching function? I'm not making the assertion that a more complete
- >AST mechanism would not be useful, but I don't see how this particular
- >extension provides any useful enhancements. Identification of the cause
- >of a signal can be provided simply by specifying different signals for
- >different purposes. Since these enhancements are supposed to be a
- >*minimal* set of changes, simply specifying a second parameter for an
- >attached value would have been much cleaner.
-
- More importantly, the N argument signal handler (where N > 1) and
- event handlers from 1003.4 destroy any hope of strict ANSI C
- compatibility. It annoys me that the 1003.4 committee would
- choose interfaces that require implementation-defined behavior
- from the compiler/OS and therefore cannot be truly portable.
- Actually, while I'm talking about implementation defined behavior,
- what about the 1003.4a functional interface for threads and the 1003.4
- events interface? They require that you be able to use a `void *' as data.
- One of the committee members told me that you are giving the caller a
- "pointers worth of data". In C, pointers do not, and never have,
- contained data. This strikes me as being totally bogus.
- --
- James Buster
- bitbug@netcom.com
-
- Volume-Number: Volume 31, Number 63
-
-